<html>
    <head>
        <title>Edit Class</title>
		<meta name="layout" content="dart" />
		<dart:css src="classification.css"/>
    </head>
    <body>
		<h1>Editing Class</h1>
		
        <g:form method="post" >
        	<input type="hidden" name="id" value="${classification.id}" />
            <input type="hidden" name="version" value="${classification.version}" />
        	<table id="classification">
        	<tr>
        		<td> Name </td>
        	 	<td> <input type="text" name="name" value="${classification.name}"/> </td>
			</tr>
        	<tr>
        		<td> Score Multiplier </td>
        	 	<td> ${classification.scoreMultiplier} </td>
			</tr>
        	<tr>
        		<td> Penalty Multiplier </td>
        	 	<td> ${classification.penaltyMultiplier} </td>
			</tr>
			<tr align="center">
				<td> <g:actionSubmit class="submit" value="Save Changes" action="update"/> </td>
				<td> <g:actionSubmit class="submit" action="flipEnabled"
						value="${classification.enabled ? 'Disable' : 'Enable'}" /> </td>
			</tr>
            </table>        
        </g:form>
    </body>
</html>
